package com.yiibai.tutorial.javabasic.variable;

class FreshJuice {
	// 定义枚举
	enum FreshJuiceSize {
		SMALL, MEDIUM, LARGE
	};

	FreshJuiceSize size;
}

public class FreshJuiceTest {
	public static void main(String[] args) {
		FreshJuice juice = new FreshJuice();
		juice.size = FreshJuice.FreshJuiceSize.MEDIUM;
		System.out.println("玻璃杯大小：" + juice.size);
	}
}
